.scrollable-content {
	height: calc(100vh - 150px);
}

/* 数据卡片样式 */
.data-cards {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.data-card {
	background: #bee3de;
	border-radius: 12px;
	padding: 15px 15px 5px 15px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
}

.data-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.data-card:active {
	transform: translateY(1px);
}

/* 卡片头部 */
.card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #16161b4d;
}

.device-name {
	font-size: 1.1rem;
	color: #333;
	font-weight: 500;
}

.device-time {
	color: #666;
	font-size: 0.9rem;
}

/* 数据行样式 */
.data-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin-bottom: 8px;
}

.data-item {
	padding: 5px;
	background: #ececec;
	border-radius: 6px;
	color: #205b56;
	text-align: center;
}

.data-item span {
	display: block;
	font-size: 0.9rem;
}

.data-value {
	line-height: 23px;
}

/* 滚动容器 */
.scroll-container {
	height: calc(100vh - 120px);
	overflow-y: auto;
	padding: 0 20px;
}

/* 隐藏滚动条 */
.scroll-container::-webkit-scrollbar {
	width: 0;
	background: transparent;
}

.chart-container {
	width: 100%;
	height: 30vh;
	min-height: 300px;
	background: white;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow-x: hidden;
	padding-left: 20px;
}

.custom-legend {
	position: absolute;
	background: white;
	padding: 8px;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	display: none;
	pointer-events: none;
	min-width: 120px;
}

/* 文字描述模块样式 */
.description-container {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s;
}

.description-container:hover {
	transform: translateY(-2px);
}

.description-title {
	padding: 16px 20px;
	font-size: 1.1rem;
	color: #4A90E2;
	font-weight: 500;
	border-bottom: 1px solid rgba(74, 144, 226, 0.2);
}

.description-content {
	padding: 20px;
	line-height: 1.6;
	color: #666;
}

.description-content p {
	margin-bottom: 15px;
}

.description-content ul {
	margin: 15px 0;
	padding-left: 25px;
}

.description-content li {
	margin-bottom: 8px;
	position: relative;
}

.description-content li::before {
	color: #4A90E2;
	position: absolute;
	left: -18px;
}